package tw.com.softleader.reins.demo.smartphone.entity;

public class SmartPhone {
	private Long id;
	private String name;
	private String cpu;
	private Integer resWidth;
	private Integer resHeight;
	private String system;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getCpu() {
		return cpu;
	}

	public void setCpu(String cpu) {
		this.cpu = cpu;
	}

	public Integer getResWidth() {
		return resWidth;
	}

	public void setResWidth(Integer width) {
		this.resWidth = width;
	}

	public Integer getResHeight() {
		return resHeight;
	}

	public void setResHeight(Integer height) {
		this.resHeight = height;
	}

	public String getSystem() {
		return system;
	}

	public void setSystem(String system) {
		this.system = system;
	}

	@Override
	public String toString() {
		return "SmartPhone[id=" + id + ", name=" + name + ", cpu=" + cpu
				+ ", resolution=" + resWidth + "x" + resHeight + ", system="
				+ system + "]";
	}
}
